import { defineStore } from 'pinia';

export const useGlobalDataStore = defineStore('globalData', {
    state: () => ({
        userId: '',
        token:''
  }),
  actions: {
    updateUserId(value) {
      this.userId = value;
      },
      updateToken(value) {
      this.token = value;
    },
  },
});